package com.example.ali.service;

import com.example.ali.domain.dto.MyDetectionDto;

import java.io.InputStream;
import java.util.List;
import java.util.Map;

/**
 * 〈阿里OCR〉
 *
 * @author hero
 * @create 2024/5/29
 * @since 1.0.0
 */
public interface IAliOcrService {

    /**
     * 获取OCR识别结果
     * @param fileInputStream
     * @return
     */
    List<Map<String, String>> getValueMap(InputStream fileInputStream,Integer startRow);


    // List<MyDetectionDto> getOcr(String filePath) throws Exception;
    //
    // List<MyDetectionDto> postOcr(InputStream fileInputStream) throws Exception;





}